package com.ctshk.rpc.bus.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.util.List;

/**
 * <p>
 * 巴士产品成本信息req
 * </p>
 *
 * @author 彭柳霖
 * @since 2021-02-09
 */
@Data
@ApiModel(value="BusProductCostReq对象", description="巴士产品成本信息req")
public class BusProductCostReq implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    @ApiModelProperty(value = "巴士产品id")
    private Long busProductId;

    @ApiModelProperty(value = "成本名称")
    private String costName;

    @ApiModelProperty(value = "币种id")
    private Long currencyId;

    @ApiModelProperty(value = "币种名称")
    private String currencyName;

    @NotNull(message = "巴士产品成本日期集合为空")
    @ApiModelProperty(value = "巴士产品成本日期集合")
    private List<BusProductCostDateReq> busProductCostDateReqList;

    @NotNull(message = "巴士产品成本价格集合为空")
    @ApiModelProperty(value = "巴士产品成本价格集合")
    private List<BusProductCostPriceReq> busProductCostPriceReqList;

}
